Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
fi
cd $olddir
-if ! test -f libglnx/README.md -o bsdiff/README.md; then
+if ! test -f libglnx/README.md || ! test -f bsdiff/README.md; then
git submodule update --init
fi
# Workaround automake bug with subdir-objects and computed paths
loose_objpath[1] = dent->d_name[1];
loose_objpath[2] = '/';
- strncpy (loose_objpath + 3, child_dent->d_name, sizeof (loose_objpath)-3);
+ g_strlcpy (loose_objpath + 3, child_dent->d_name, sizeof (loose_objpath)-3);
if (!_ostree_repo_ensure_loose_objdir_at (self->objects_dir_fd, loose_objpath,
cancellable, error))